Complete Functional Testing using Object Machines

نویسندگان

  • Anthony J H Simons
  • Kirill Bogdanov
  • Michael Holcombe
چکیده

Most software testing methods, even though they may detect some faults, can never finally assert whether the tested system is correct. This is due partly to the incompleteness of methods that merely aim to "exercise" the code; partly to the lack of a formal relationship between testing and a functional specification; and partly to the difficulty, especially in objectoriented systems, of testing systems built from many components that may together have millions of states. In this paper, we propose the Object Machine as a formal model of an object, which captures both the protocol of an object and the semantics of its methods in a way that bridges the gap between abstract mathematical specifications and the provision of tractable, concrete testing criteria. The Object Machine is an adaptation of earlier successful work on Stream X-Machines, that has been specifically developed to address formal issues unique to object-oriented systems, in particular the way in which one object depends partly upon others for its own behavioural properties, and the resulting indeterminacy of the next state decision function. Software systems conforming to Object Machine specifications may be fully functionally tested, using a hierarchical approach that guarantees the integration at each level, subject to a number of relatively non-restrictive requirements.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

On object state testing

The importance of object state testing is illustrated through a simple example. We show that certain errors in the implementation of object state behavior cannot be readily detected by conventional structural testing, functional testing, and state testing. We describe an object state test model and outline a reverse engineering method for extracting object state behaviors from C++ source code. ...

متن کامل

Using State Diagrams to Generate Unit Tests for Object-Oriented Systems

Traditionally, finite state machines and their extensions, such as stream X-machines, have been used for modelling and testing of graphical user interfaces (GUI) and for acceptance testing. This paper shows how these testing techniques can be successfully extended to unit test generation for object-oriented systems and integrated into Extreme Programming in a simple and designer-friendly way. T...

متن کامل

A scalarization-based method for multiple part-type scheduling of two-machine robotic systems with non-destructive testing technologies

This paper analyzes the performance of a robotic system with two machines in which machines are configured in a circular layout and produce non-identical parts repetitively. The non-destructive testing (NDT) is performed by a stationary robotic arm located in the center of the circle, or a cluster tool. The robotic arm integrates multiple tasks, mainly the NDT of the part and its transition bet...

متن کامل

بررسی عملکرد حرکتی اندام تحتانی بدنبال جراحی بازسازی رباط متقاطع قدامی: مطالعه آینده‌نگر بالینی

Background: Both isokinetic testing and functional tests are commonly used to evaluate anterior cruciate ligament reconstructed (ACLR) patients. The object of this study was to evaluate motor performance of the knee and determine the relationship of isokinetic test scores to scores on a variety of lower extremity functional tests. Methods: Ten healthy subjects and eleven ACLR patients at least...

متن کامل

Formal Derivation of Finite State Machines for Class Testing

Previous work on generating state machines for the purpose of class testing has not been formally based. There has also been work on deriving state machines from formal speciications for testing non-object-oriented software. We build on this work by presenting a method for deriving a state machine for testing purposes from a formal speciication of the class under test. We also show how the resu...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2001